from django.db import models
from django.contrib.auth.models import AbstractUser

class User(AbstractUser):
    phone = models.CharField(max_length=11,null=True, blank=True)
    icon = models.ImageField(upload_to="icon",null=True, blank=True)
    is_active = models.BooleanField(default=False)

    class Meta:
        db_table = "user"

    def __str__(self):
        return self.username